<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>键盘事件</title>
</head>
<body>
    <div id="app">
        当前num:{{num}}<br/>
        <input @keyup.65="num++"/>
        <input @keyup.alt.51="num++"/>
    </div>
    <script src="./node_modules/vue/dist/vue.js"></script>
    <script>
        var app = new Vue({
            el:"#app",
            data:{
                num:50
            },

        });
    </script>


</body>
</html>